<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="net.ssta.util.bill.chargeobj.CostNumberConstants" %>
<%
	String path = request.getContextPath();
    
    String kjcg=request.getParameter("kjcg");
    String unit=request.getParameter("unit");
    String expert=request.getParameter("expert");
    
    if(kjcg!=null&&!"".equals(kjcg)){
    	CostNumberConstants.updateCostNumber(Integer.parseInt(kjcg),Integer.parseInt(unit),Integer.parseInt(expert));
    }
    /*int ikjcg=CostNumberConstants.getKjcg();
    int iunit=CostNumberConstants.getUnit();
    int iexpert=CostNumberConstants.getExpert();*/
    int ikjcg=CostNumberConstants.kjcg;
    int iunit=CostNumberConstants.unit;
    int iexpert=CostNumberConstants.expert;
%>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>


<link type="text/css" rel="stylesheet" href="<%=path %>/includes/css/commonStyle.css"/> 
<link type="text/css" rel="stylesheet" href="<%=path %>/includes/styleBase/css/styleBase.css"/>
<link type="text/css" rel="stylesheet" href="<%=path %>/includes/styleBase/css/ostable.css" />
<link type="text/css" rel="stylesheet" href="<%=path %>/includes/styleBase/css/tab.css" />



<script type='text/javascript' src="<%=path %>/includes/FusionCharts/js/FusionCharts.js"></script>
<script type='text/javascript' src="<%=path %>/includes/FusionCharts/js/FusionChartsExportComponent.js"></script>

<script type='text/javascript' src="<%=path %>/includes/js/jquery.js"></script>
<script type="text/javascript" src="<%=path %>/includes/styleBase/js/style.js"></script>
<script type="text/javascript" src="<%=path %>/includes/DatePicker/WdatePicker.js"></script>


<script type="text/javascript" src="<%=path %>/includes/lhgdialog/lhgcore.min.js"></script>
<script type="text/javascript" src="<%=path %>/includes/lhgdialog/lhgdialog.js"></script>

<script type="text/javascript" src="<%=path %>/includes/Fvalidate/Fvalidate.js" ></script>
<link type="text/css" rel="stylesheet" href="<%=path %>/includes/Fvalidate/style.css" />

 
<title>设置分值</title>
 
<script type="text/javascript">


$(document).ready(function()
{
     
	$("#searchFrom").Fvalidate({live:true});
 
});

 
function checkForm(){


  if(!$("#searchFrom").Fvalidate()){
    return false;
  }
   document.configFrom.submit();
   return true;
}      
 
  
</script>


<style>
body, html {
	margin:0;
	padding:0;
}
	.ctable{
		font-size:12px;
		cellPadding:0px;
		cellSpacing:0px;
		background-color:#F6F9FF;
		
		} 
 
		.ctable tr{
		height:24px; 
		} 
		.ctable tr td{ 
		border:0px;
		border-top:1px #99bbe8 solid; 
		border-right:1px #99bbe8 solid;
		padding:5px; 
		vertical-align:middle;
		}
</style>
 
 


</head>
<body>
<form id="searchFrom" action="<%=path %>/back/unit/costNumConfig.jsp"  name="configFrom" method="post">

<div class="multiEditPanel" style="border:0;padding:10px;width:90%;padding-left:20px;">
  <table cellpadding="0" align="center" cellspacing="0" border="0" class="ctable" style="border-left:1px solid #99bbe8;border-bottom:1px solid #99bbe8;border-right:0px solid red;">
    <tr >
      <td width="30%">科技成果金额：</td>
      <td >
      	<input type="text" name="kjcg"  maxlength="20" style="width:120px;" class="textInput" required label="科技成果金额"  rule="number" error="必须为正整数" value="<%=Integer.toString(ikjcg) %>"/>
     </tr>
     <tr>
      <td>科研机构金额：</td>
      <td width="30%" >
		 <input type="text" name="unit"  maxlength="20" style="width:120px;" class="textInput" required label="科研机构金额" rule="number" error="必须为正整数" value="<%=Integer.toString(iunit) %>"/>
	  </td>
    </tr>
    <tr >
      <td>专家金额：</td>
      <td>
		 <input type="text" name="expert"  maxlength="20" style="width:120px;" class="textInput" required label="专家金额" rule="number" error="必须为正整数" value="<%=Integer.toString(iexpert) %>"/>
	  </td>
    </tr>
    
  </table>
</div>
 <center>
   <input type="button" onclick="checkForm()" value="确定"/> 
 </center>
  	
 
</form>
</body> 
</html>